Fix crash on OSX >= 10.7.
authorJan D. <jan.h.d@swipnet.se>
Sun, 11 Aug 2013 15:34:26 +0000 (17:34 +0200)
committerJan D. <jan.h.d@swipnet.se>
Sun, 11 Aug 2013 15:34:26 +0000 (17:34 +0200)
commitad74837ecaede1f0e8d980bf9185982ead8365db
treee55f43ae5a23d6615ca32d4fe876ff039599b083
parentb786dd2cb3d931b4201fc96206850e17b1257b9f
Fix crash on OSX >= 10.7.

* nsmenu.m (ns_update_menubar): Call fillWithWidgetValue:frame:
(initWithTitle:): Initialize frame to 0.
(fillWithWidgetValue:): Call fillWithWidgetValue:frame.
(fillWithWidgetValue:frame:): Renamed from
fillWithWidgetValue:setDelegate, call initWithTile:frame: if f.

* nsterm.h (EmacsMenu): fillWithWidgetValue:setDelegate renamed to
fillWithWidgetValue:frame:
src/ChangeLog
src/nsmenu.m
src/nsterm.h